package com.bee.plus.vo;

public enum ModelType {

    Ali("Ali"),
    Baidu("Baidu"),

    Kimi("Kimi");

    public String desc;

    ModelType(String desc) {
        this.desc=desc;
    }

    public static ModelType getTypeName(String desc){
        for(ModelType transactType : values()){
            if (transactType.getDesc().equals(desc)) {
                //获取指定的枚举
                return transactType;
            }
        }
        return null;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
